<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@page import="util.DomainUtils"%>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html"%>
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>
<%@ taglib prefix="nested" uri="http://struts.apache.org/tags-nested"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Welcome page</title>
<link rel="stylesheet" type="text/css" href="/mdoc-project/css/bootstrap.css">
<base href="<%=request.getScheme()%>://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/">
</head>
<body>

	<%@include file="/pages/common_style/header.jsp"%>
	<%@include file="/pages/common_style/alerts.jsp"%>


	<p style="color: white;">Please, enter the following information to register</p>


	<html:form action="/AddUser">
	<html:errors />
		<br>
		<div class="form-group">
			<label for="login">Login</label>
			<input type="text" class="form-control" id="login" name="login" value="<%=DomainUtils.getNotNullValue(request, "login")%>" placeholder="Choose your login">

			<label for="password">Password</label>
			<input type="password" class="form-control" id="password" value="" name="password" value="" placeholder="Choose your password">

			<label for="password_confirmation">Password confirmation</label>
			<input type="password" class="form-control" id="password_confirmation" name="password_confirmation" value="" placeholder="Confirm your password">


			<br>
			<button type="submit" class="btn btn-default">Submit</button>
			<button type="reset" class="btn btn-default">Reset</button>
		</div>
	</html:form>


	<%@include file="/pages/common_style/footer.jsp"%>

</body>
</html>